<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    p,
    span {
      background-color: lightblue;
      /* 边框大小2像素, 样式为实线 */
      border: 2px solid;
      /* 行高设置为字体3倍大小 */
      line-height: 3;

    }
  </style>
</head>

<body>
  <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Vel, accusantium minus. Saepe veniam maxime consectetur
    doloribus, debitis, nemo non quasi voluptates at iste earum praesentium tenetur laborum eligendi! Error, deserunt?
  </p>
  <span>
    Lorem ipsum, dolor sit amet consectetur adipisicing elit. Hic quis minima nesciunt, dolor optio cumque, commodi
    nostrum totam voluptates asperiores fuga velit iusto doloremque aspernatur ad deleniti voluptas minus voluptatem.
  </span>

  <span>
    Lorem ipsum dolor sit, amet consectetur adipisicing elit.
  </span>
</body>

</html>